
package Exercices;

public class vector {
    public static void main(String[] args) {
        int conti = 0;        
        
        int[][] vect = new int[10][10];
        
        int contadordigitos = String.valueOf(10*10).length();
        for (int i = 0; i < 10; i++) {                        
            for (int j = 0; j < 10; j++){         
                
                for(int indent=0; indent<conti-(String.valueOf(10*10)+1).length(); indent++) {
                    conti++;
                    vect[i][j] = conti+1;                
                }                
            }            
        }
                
        
        for(int index1 = 0; index1<10; index1++) {
            for(int index2 = 0; index2<vect[index1].length; index2++) {
                System.out.print(" "+vect[index1][index2]);
            }
            System.out.println();
        }
    }
}
